<div class="top-bar">
  @if (selected) {
    <span class="main-text text-truncate">
      @if (isNew) {
        Creating new: {{ selected }}
      } @else {
        Editing: {{ selectedName }} ({{ selected }})
      }
    </span>
  }
</div>
